package com.power.sifa.correction.model.pageInfo;

import com.plf.common.domain.BasePageInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
*  预警信息违规详情条件查询
*/

@Data
@ApiModel(value="预警信息违规详情条件查询")
@EqualsAndHashCode(callSuper = false)
public class Cre_warning_detailPageInfo extends BasePageInfo{

        @ApiModelProperty(value = "详情记录id")
        private String f_id;
        @ApiModelProperty(value = "详情记录id操作符")
        private String f_id_op = "like";

        @ApiModelProperty(value = "预警信息id")
        private String f_warningid;
        @ApiModelProperty(value = "预警信息id操作符")
        private String f_warningid_op = "like";

        @ApiModelProperty(value = "规则id")
        private String f_ruleid;
        @ApiModelProperty(value = "规则id操作符")
        private String f_ruleid_op = "like";

        @ApiModelProperty(value = "预警时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_warningtime;
        @ApiModelProperty(value = "预警时间操作符")
        private String f_warningtime_op = ">=";

        @ApiModelProperty(value = "预警时间_01", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_warningtime_01;
        @ApiModelProperty(value = "预警时间操作符")
        private String f_warningtime_01_op = "<=";

        @ApiModelProperty(value = "预警地点")
        private String f_addr;
        @ApiModelProperty(value = "预警地点操作符")
        private String f_addr_op = "like";

        @ApiModelProperty(value = "校验结果")
        private Integer f_validate;
        @ApiModelProperty(value = "校验结果操作符")
        private String f_validate_op = "=";
        @ApiModelProperty(value = "单条描述")
        private String f_describe;
        @ApiModelProperty(value = "单条描述操作符")
        private String f_describe_op = "like";

        @ApiModelProperty(value = "违规类型")
        private Integer f_type;
        @ApiModelProperty(value = "违规类型操作符")
        private String f_type_op = "=";
        @ApiModelProperty(value = "规则名称")
        private String f_rulename;
        @ApiModelProperty(value = "规则名称操作符")
        private String f_rulename_op = "like";

        @ApiModelProperty(value = "生成时间", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_createtime;
        @ApiModelProperty(value = "生成时间操作符")
        private String f_createtime_op = ">=";

        @ApiModelProperty(value = "生成时间_01", example = "2020-02-05 13:30:41")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE_TIME)
        private String f_createtime_01;
        @ApiModelProperty(value = "生成时间操作符")
        private String f_createtime_01_op = "<=";

        @ApiModelProperty(value = "公安id")
        private Integer f_gaid;
        @ApiModelProperty(value = "公安id操作符")
        private String f_gaid_op = "=";

}